package com.lihepeng.leecode.design_patten.decorator;

public abstract class Finery extends Person{
    protected Person component;
    public void decorate(Person component){
        this.component = component;
    }

    @Override
    protected void show() {
        if (component!=null){
            component.show();
        }
    }
}
